import React, { useState } from "react";
import { Tabs } from "react-vant";
import ComCommonDrugs from '../../components/ComCommonDrugs'
import ComCommonSymptoms from '../../components/ComCommonSymptoms'
const Index: React.FC = () => {
  return (
    <div>
      <div className="demo-tabs">
        <Tabs active={0}>
          <Tabs.TabPane title="常见病症"><ComCommonSymptoms/></Tabs.TabPane>
          <Tabs.TabPane title="常见药品"><ComCommonDrugs/></Tabs.TabPane>
        </Tabs>
      </div>
    </div>
  );
};

export default Index;
